export const add = function (value1, value2) {
  let len1 = (value1 + '').split('.')[1]?.length || 0
  let len2 = (value2 + '').split('.')[1]?.length || 0
  let maxLen = Math.max(len1, len2)
  let a = Math.pow(10, maxLen)
  return (value1 * a + value2 * a) / a
}
